package Polymorphism2;

public class Cat extends animal{
    @Override
    public void show()
    {
        System.out.println("这是一只猫");
    }
    public void eat(){
        System.out.println("猫吃鱼");
    }
    public void catchMouse(){
        System.out.println("猫抓老鼠");
    }
}
